package com.zhou.bjgl.bjgl.business_web.service;

import com.zhou.bjgl.bjgl.req.user.UserEditPasswordReq;
import com.zhou.bjgl.bjgl.req.user.UserReq;
import com.zhou.bjgl.bjgl.resp.BClassResp;
import com.zhou.bjgl.bjgl.resp.BCollegeResp;
import com.zhou.bjgl.bjgl.resp.BRoleResp;
import com.zhou.bjgl.bjgl.resp.user.BUserForInfoResp;
import com.zhou.bjgl.bjgl.resp.user.BUserForQueryResp;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @ClassName: UserService
 * @Description: 公共功能服务类
 * @Author: admin
 * @Date: 2021/7/4 14:41
 */
public interface CommonService {

    BUserForQueryResp login(UserReq req);

    BUserForInfoResp getUserInfo(UserReq req);

    BUserForInfoResp getUserInfoForEdit(UserReq req);

    List<BClassResp> getClassdata(Long collegeId);

    List<BCollegeResp> getCollegedata(Long parentId);

    List<BRoleResp> getRoleData();

    void UserIsExist(UserReq req);


    void pushNoticeUtil(String activityName, String appid);

    void changePassword(UserEditPasswordReq userEditPasswordReq);

    String uploadProfile(MultipartFile profile);

    void changeUserInfo(UserReq userReq);
}
